const http = uni.$tn.http
export const SetUserInfo = (id, data) => http.put(`/api/system/user/${id}/`, data);
export const GetText = (data) => http.post('/api/system/get_text', data);
export const GetSquareListAPI = (params) => http.get('/api/system/model_call_details/get_model_call_details/', {params})
export const DellistAPI = (id) => http.delete(`/api/system/model_call_details/${id}/`) 
export const GetPayInfo = (data) => http.post('/api/system/money/wechat_pay/', data);
export const GetPayList = (params) => http.get('/api/system/transaction_details/', {params})

// export const GetUserInfo = (params) => http.get('/api/system/user/user_info/', {params});

// export const getMenu = (data) => http.get('/ebapi/public_api/index', data)//綁定登录

// export const syindex = (params, config = {}) => http.post('/api/index/index', params, config); //首页接口
// export const indexBanner = (params, config = {}) => http.post('/api/index/banner', params, config); //首页banner
// export const index_detail = (params, config = {}) => http.post('/api/index/index_detail', params, config); //首页接口

// export const media_testing_video = (params, config = {}) => http.post('/api/index/media_testing_video', params, config); //流量监测接口
// export const media_issue_video = (params, config = {}) => http.post('/api/index/media_issue_video', params, config); //上刊监测接口
// export const areas = (params, config = {}) => http.post('/api/login/areas', params, config); //地区接口
// export const areas_city = (params, config = {}) => http.post('/api/login/areas_city', params, config); //地区接口

// export const applymediaowern = (params, config = {}) => http.post('/api/member/applymediaowern', params, config); //申请
// export const memberIndex = (params, config = {}) => http.post('/api/member/index', params, config); //个人中心接口

// export const applybanner = (params, config = {}) => http.post('/api/member/applybanner', params, config); //媒体主申请页面的banner
// export const medialist = (params, config = {}) => http.post('/api/member/medialist', params, config); //媒体主列表
// export const media_timelog_video = (params, config = {}) => http.post('/api/index/media_timelog_video', params, config); //时间段接口
// export const couponto = (params, config = {}) => http.post('/api/member/couponto', params, config); //兑换码

// export const my_medialist = (params, config = {}) => http.post('/api/member/my_medialist', params, config); //上下架列表
// export const media_on = (params, config = {}) => http.post('/api/member/media_on', params, config); //下架
// export const media_off = (params, config = {}) => http.post('/api/member/media_off', params, config); //上架
// export const buyshop = (params, config = {}) => http.post('/api/member/buyshop', params, config); //支付
// export const fuwutiaokuan = (params, config = {}) => http.post('/api/login/fuwutiaokuan', params, config); //服务条款
// export const yonghuxiye = (params, config = {}) => http.post('/api/login/yonghuxiye', params, config); //用户协议
// export const yinsixiye = (params, config = {}) => http.post('/api/login/yinsixiye', params, config); //隐私协议

// export const index_detailfenxiang = (params, config = {}) => http.post('/api/index/index_detailfenxiang', params, config); //分享页面详情
// export const medialistfenxiang = (params, config = {}) => http.post('/api/member/medialistfenxiang', params, config); //分享更多列表
// export const applymediaowernh5 = (params, config = {}) => http.post('/api/member/applymediaowernh5', params, config); //h5申请接口
// export const getShareImg = (params, config = {}) => http.post('/api/member/getShareImg', params, config); //二维码接口
// export const index_detailapp = (params, config = {}) => http.post('/api/index/index_detailapp', params, config); //APP 详情接口